﻿@using Microsoft.AspNet.Identity


@if (Request.IsAuthenticated)
{
    <li><a href="/Manage/Index" title="Manage"><i class="fa fa-fw fa-pencil-square-o" id="loginLink"></i>Profile</a></li>
    <li><a href="javascript:document.getElementById('logoutForm').submit()"><i class="fa fa-fw fa-sign-out" id="loginLink"></i>Log off</a></li>

    using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
    {
        @Html.AntiForgeryToken()

    }
}
else
{
    <li><a href="/Account/Register" id="registerLink"><i class="fa fa-fw fa-user"></i>Register</a></li>
    <li><a href="/Account/Login"><i class="fa fa-fw fa-sign-in" id="loginLink"></i>Login</a></li>
}